#ifndef GRAYSCALEDETECTORRESULT_H
#define GRAYSCALEDETECTORRESULT_H

#include <vector>
#include <zxing/common/Counted.h>
#include <newcode/ByteMatrix.h>
#include <zxing/ResultPoint.h>
#include <zxing/common/PerspectiveTransform.h>

namespace newcode {

using namespace zxing;
using namespace std;

class GrayscaleDetectorResult: public Counted {
private:
  Ref<ByteMatrix> bytes;
  vector<Ref<ResultPoint> > points;
  Ref<PerspectiveTransform> transform;

public:
    GrayscaleDetectorResult(Ref<ByteMatrix> bytes,
        vector<Ref<ResultPoint> > points, Ref<PerspectiveTransform> transform);
    Ref<ByteMatrix> getBytes();
    vector<Ref<ResultPoint> > getPoints();
    Ref<PerspectiveTransform> getTransform();
};

}


#endif // GRAYSCALEDETECTORRESULT_H
